package cn.tj212.xiaoyin.service;

import cn.tj212.xiaoyin.dao.mapper.UserDao;
import cn.tj212.xiaoyin.entitiy.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserService {

    @Autowired
    private UserDao userDao;

    public User getById(Integer id){
        return userDao.getById(id);
    }

}
